import store from '@/store'
import router from '@/router'

// 跳转到登录页面
export function toLogin(){
  store.dispatch('Logout').then(() => {
     router.push({ path: '/user/adminLogin' })
  })
}